package main

import "fmt"

func foo(x *int) {
	*x++

}
func main() {
	var x = 1
	foo(&x)
	fmt.Println(x)
}
